package com.flong.spring.bean;

import org.springframework.beans.factory.FactoryBean;

/**
 * @Author:liangjl
 * @Date: 2020/6/10-21:21
 * @Eamil:jilongliang@sina.com
 * @Description:
 */
public class ColorFactoryBean implements FactoryBean<Color> {

    @Override
    public Color getObject() throws Exception {
        return new Color();
    }

    @Override
    public Class<?> getObjectType() {
        return Color.class;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
